Spread WPF Documentation
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcTrendFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 1 - 4 items: known_y's, [known_x's], [new_x's], [const].

Known_y's is the set of y-values you already know in the relationship y = mx + b.

Known_x's is an optional set of x-values that you may already know in the relationship y = mx + b.

New_x's are new x-values for which you want TREND to return corresponding y-values.

Const is a logical value specifying whether to force the constant b to equal 0.

Returns an GrapeCity.CalcEngine.CalcArray array of y-values along a linear trend.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcTrendFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 1 - 4 items: known_y's, [known_x's], [new_x's], [const].

Known_y's is the set of y-values you already know in the relationship y = mx + b.

Known_x's is an optional set of x-values that you may already know in the relationship y = mx + b.

New_x's are new x-values for which you want TREND to return corresponding y-values.

Const is a logical value specifying whether to force the constant b to equal 0.

Return Value

A GrapeCity.CalcEngine.CalcArray value that indicates the evaluate result.
See Also

Reference

CalcTrendFunction Class
CalcTrendFunction Members
Overload List